package com.java.vo;

import java.util.Date;


public class Master implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5648286818407548423L;
	private Integer id;
	private String name;
	private String password;
	private Integer masterId;
	private String masterName;
	
	private Date createAt;

	public Master() {
	}

	public Master(Integer id, String name, String password, Integer masterId, String masterName, Date createAt) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.masterId = masterId;
		this.masterName = masterName;
		this.createAt = createAt;
	}



	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMasterName() {
		return this.masterName;
	}

	public void setMasterName(String masterName) {
		this.masterName = masterName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateAt() {
		return this.createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public void setMasterId(Integer masterId) {
		this.masterId = masterId;
	}
	
	public Integer getMasterId() {
		return masterId;
	}


	@Override
	public String toString() {
		return "Master [id=" + id + ", name=" + name + ", password=" + password + ", masterId=" + masterId
				+ ", masterName=" + masterName + ", createAt=" + createAt + "]";
	}
	
	

}

